'use strict';

module.exports = function (mongoose, Schema) {

    let schema = new Schema({
        userName: String,
        password: String,
        type: Number, //0表示特殊用户，如审核人员，1表示财经编辑用户。。。。后续拓展
    }, {
        collection: 'user_type',
        timestamps: true
    });

    return mongoose.model('UserType', schema);
};